package com.nian.common.config;

import feign.Feign;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

/**
 * 用途：
 * 开发：zhangmj
 * 日期：2020/4/4 0004 13:29
 */
@Configuration
public class HystrixFeignConfig {

    @Bean
    @Scope("prototype")
    public Feign.Builder feignHystrixBuilder() {
        return Feign.builder();
    }

}
